package models

type JdkConfig struct {
	JdkId    string `yaml:"JdkId",json:"JdkId"`
	JdkAlias string `yaml:"JdkAlias",json:"JdkAlias"`
	JdkPath  string `yaml:"JdkPath",json:"JdkPath"`
}

type MavenConfig struct {
	MavenId    string `yaml:"MavenId",json:"MavenId"`
	MavenAlias string `yaml:"MavenAlias",json:"MavenAlias"`
	MavenPath  string `yaml:"MavenPath",json:"MavenPath"`
	Settings   string `yaml:"Settings",json:"Settings"`
}

type GradleConfig struct {
	GradleId    string `yaml:"GradleId",json:"GradleId"`
	GradleAlias string `yaml:"GradleAlias",json:"GradleAlias"`
	GradlePath  string `yaml:"GradlePath",json:"GradlePath"`
}

type SonarScannerConfig struct {
	SonarScannerId    string `yaml:"SonarScannerId",json:"SonarScannerId"`
	SonarScannerAlias string `yaml:"SonarScannerAlias",json:"SonarScannerAlias"`
	SonarScannerPath  string `yaml:"SonarScannerPath",json:"SonarScannerPath"`
}

type SvnConfig struct {
	SvnId    string `yaml:"SvnId",json:"SvnId"`
	SvnAlias string `yaml:"SvnAlias",json:"SvnAlias"`
	SvnPath  string `yaml:"SvnPath",json:"SvnPath"`
}
type GitConfig struct {
	GitId    string `yaml:"GitId",json:"GitId"`
	GitAlias string `yaml:"GitAlias",json:"GitAlias"`
	GitPath  string `yaml:"GitPath",json:"GitPath"`
}

type GlobalToolConfig struct {
	Jdks          []*JdkConfig          `yaml:"Jdks",json:"Jdks"`
	Mavens        []*MavenConfig        `yaml:"Mavens",json:"Mavens"`
	Gradles       []*GradleConfig       `yaml:"Gradles",json:"Gradles"`
	SonarScanners []*SonarScannerConfig `yaml:"SonarScanners",json:"SonarScanners"`

	Gits []*GitConfig `yaml:"Gits",json:"Gits"`
	Svns []*SvnConfig `yaml:"Svns",json:"Svns"`
}
